package scjp.preparation.classdesign;

class Person {
	public int i = 1;
	public String s = "Blah 1";
	public static String f = "Final 1";

	public String smth() {
		return "Person";
	}
}

public class Customer extends Person {

	public int i = 2;
	public String s = "Blah 2";
	public static String f = "Final 2";


	public String smth() {
		return "Customer";
	}

	public static void main(String[] args) {

		Person p = new Customer();
		System.out.println(p.smth() + "  " +p.s + " " + p.f);

	}

}
